home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- #ifndef JJMainH
- #define JJMainH
- //---------------------------------------------------------------------------
- #include <vcl\Classes.hpp>
- #include <vcl\Controls.hpp>
- #include <vcl\StdCtrls.hpp>
- #include <vcl\Forms.hpp>
- #include <vcl\ExtCtrls.hpp>
- //---------------------------------------------------------------------------
- class TMainForm : public TForm
- {
- __published: // IDE-managed Components
- TButton *Start;
- TButton *Stop;
- TImage *Image;
- TLabel *Label;
- void __fastcall FormCreate(TObject *Sender);
-
- void __fastcall StartClick(TObject *Sender);
- void __fastcall StopClick(TObject *Sender);
- private: // User declarations
- bool done;
- void DrawImage(String& name);
- public: // User declarations
- virtual __fastcall TMainForm(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern PACKAGE TMainForm *MainForm;
- //---------------------------------------------------------------------------
- #endif
-